//package com.tianlan.blog.service;
//
//import javax.servlet.http.HttpServletRequest;
//import javax.servlet.http.HttpServletResponse;
//
//import org.springframework.cloud.openfeign.FeignClient;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.PostMapping;
//import org.springframework.web.bind.annotation.RequestBody;
//import org.springframework.web.bind.annotation.RequestMapping;
//
//import com.tianlan.blog.dto.LoginUser;
//import com.tianlan.blog.dto.UserInfo;
//import com.tianlan.blog.entity.SysUser;
//import com.tianlan.common.annotation.auth.CurrentUser;
//import com.tianlan.common.base.Result;
//
//import springfox.documentation.annotations.ApiIgnore;
//
//@FeignClient(value = "TIANLAN-PROVIDER")
//@RequestMapping(value = "/auth")
//public interface SysLoginClientService {
//
//	@GetMapping("/vcode")
//	void defaultKaptcha(HttpServletRequest request, HttpServletResponse response);
//	
//	@PostMapping("/login")
//	Result<String> login(@RequestBody LoginUser loginUser, HttpServletRequest request);
//	
//	@GetMapping("/user/info")
//	Result<UserInfo> userInfo(HttpServletRequest request,@RequestBody @ApiIgnore @CurrentUser SysUser currentUser);
//	
//	@PostMapping("/logout")
//	Result<?> logOut(HttpServletRequest request);
//	
//	@RequestMapping("401")
//	Result<?> unauthorized();
//	
//	@RequestMapping("/timeout")
//	Result<?> timeOut();
//}
